import type { RouteRecordRaw } from 'vue-router';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:credit-card',
      order: 30,
      title: '财务管理',
    },
    name: 'Finance',
    path: '/finance',
    children: [
      {
        name: 'RechargeManagement',
        path: '/recharge-management',
        component: () => import('#/views/finance/recharge-management.vue'),
        meta: {
          icon: 'lucide:wallet',
          title: '充值管理',
        },
      },
      {
        name: 'BankDetails',
        path: '/bank-details',
        component: () => import('#/views/finance/bank-details.vue'),
        meta: {
          icon: 'lucide:building-2',
          title: '银行明细',
        },
      },
      {
        name: 'LandingCompanyManagement',
        path: '/landing-company-management',
        component: () => import('#/views/finance/landing-company-management.vue'),
        meta: {
          icon: 'lucide:factory',
          title: '落地公司管理',
        },
      },
      {
        name: 'InvoiceManagement',
        path: '/invoice-management',
        component: () => import('#/views/finance/invoice-management.vue'),
        meta: {
          icon: 'lucide:file-text',
          title: '开票管理',
        },
      },
    ],
  },
];

export default routes;
